net/http.http2ClientConn.doNotReuse (field)
7 uses
net/http (current package)
h2_bundle.go#L7395: doNotReuse bool // whether conn is marked to not be reused for any future requests
h2_bundle.go#L7930: cc.doNotReuse = true
h2_bundle.go#L8025: Closing: cc.closing || cc.singleUse || cc.doNotReuse || cc.goAway != nil,
h2_bundle.go#L8062: !cc.doNotReuse &&
h2_bundle.go#L8131: return cc.doNotReuse && len(cc.streams) == 0
h2_bundle.go#L8456: cc.doNotReuse = true
h2_bundle.go#L9212: closeOnIdle := cc.singleUse || cc.doNotReuse || cc.t.disableKeepAlives() || cc.goAway != nil
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |